<?php
namespace Api\Controller;
use Think\Controller;
class IndexController extends Controller {

    public function index(){
        echo "Hello APi";
    }


    public function getGoods(){
        $goods = M('goods')->limit(100)->select();
        p($goods);
    }
}